package com.totem.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.math.BigDecimal;

@Schema(description="支付认购订单参数")
@Data
public class SubscribePaymentVO implements Serializable {
    @Schema(description="订单编号")
    @NotEmpty
    private String orderNo;

    @Schema(description="支付状态", example="UNPAID,CANCEL,FINISHED,DISABLED")
    private String paymentState;
    @Schema(description="收益周期")
    private Integer returnDays;
    @Schema(description="预估收益")
    private BigDecimal estimatedReturn;
    @Schema(description="支付时间")
    private String paymentTime;
}
